#ifndef COLOR_DISPLAY_LABEL_H
#define COLOR_DISPLAY_LABEL_H

#include <QLabel>

class colorDisplayLabel : public QLabel
{
	Q_OBJECT

public:
	explicit colorDisplayLabel(QWidget *parent);
	void setRgb(quint16, quint16, quint16);

protected:
	void paintEvent(QPaintEvent *event) Q_DECL_OVERRIDE;

private:
	quint16 m_r, m_g, m_b;
};

#endif